package com.lx.yygh.hosp.repository;

import com.lx.yygh.model.hosp.Hospital;
import com.lx.yygh.model.hosp.Schedule;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author c先生
 * @date 2022年10月15日 下午 4:18:18
 * @describe
 */
@Repository
public interface HospitalRepository extends MongoRepository<Hospital,String> {
    Hospital getHospitalByHoscode(String hoscode);

    Hospital getHospitalById(String id);

    List<Hospital> getHospitalByHosnameLike(String queryString);
}
